//
//  UIGLESSettingViewController.h
//  TextureFilter
//
//  Created by 畑圭輔 on 10/03/07.
//  Copyright 2010 Keisuke Hata. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EAGLView.h"
#import "ControlView.h"
#import "Line.h"
#import "Triangle.h"
#import "Chara.h"

enum {

	kTextureFilterNearest = 0,
	kTextureFilterLiner
};

enum {

	kTextureWrapEdge = 0,
	kTextureWrapRepeat,
};

@interface UIGLESSettingViewController : UIViewController {
	
	BOOL		_isOpened;
	EAGLView	*glView;

	IBOutlet UISegmentedControl		*_textureFilter;
	IBOutlet UISegmentedControl		*_textureWrap;
	
	IBOutlet UISlider				*_uvWrap;
	IBOutlet UITextField			*_uvWrapText;
	
	IBOutlet UISlider				*_uvOffset;
	IBOutlet UITextField			*_uvOffsetText;
}

- (IBAction) show;

- (IBAction) selectedTextureFilter;
- (IBAction) selectedTextureWrap;

- (IBAction) changedUVWrapValue;
- (IBAction) changedUVOffset;

@property (nonatomic,assign) id glView;

@end
